package cn.tyoui.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.tyoui.bean.cfddBean;
import cn.tyoui.mapping.CfddManageMapper;
import cn.tyoui.service.CfddManageService;

@Service("cfddManageService")
public class CfddManageServiceImpl implements CfddManageService {

	@Resource
	private CfddManageMapper cfddManageMapper;
	@Override
	public boolean addCfdd(cfddBean cfdd) throws Exception {
		return cfddManageMapper.addCfdd(cfdd);
	}

	@Override
	public List<cfddBean> queryCfdd(cfddBean cfdd) throws Exception {
		return cfddManageMapper.queryCfdd(cfdd);
	}

	@Override
	public void changeCfdd(cfddBean cfdd) throws Exception {
		cfddManageMapper.changeCfdd(cfdd);
	}

	@Override
	public void deleteCfdd(String id) throws Exception {
		cfddManageMapper.deleteCfdd(id);
	}

}
